class Hash
  def attr(n)
    self['attributes'][n]['__content__']
  end
  
  def volumes
    make_array(self["volumes"]["volume"])
  end
  
  def stories
    make_array(self["stories"]["story"])
  end
  
  def chapters
    make_array(self["chapters"]["chapter"])
  end   
  
  def make_array(obj)
    if obj.is_a?(Array)
      return obj
    else
      return [obj]
    end
  end 


  
end